package com.example.service;

import com.example.entity.Order;

import java.util.List;

public interface OrderService {
    boolean createOrder(Order order);
    Order getOrderById(Integer order_id);

    List<Order> getOrdersByRequesterId(Integer requesterId);
    List<Order> getOrdersByProviderId(Integer providerId);
    List<Order> getAllOrders();
}